package edu.scau.pos.refund.service;

import edu.scau.pos.refund.domain.RefundRecord;
import edu.scau.pos.refund.vo.RefundRecordVo;

import java.util.List;

public interface RefundRecordService {

    int addCache(RefundRecord refundRecord);

    List<RefundRecordVo> getRefundRecordsList();

    RefundRecord getRefundRecord(String refundId);

    void deletedRefundRecord(String refundId);
    int addOrUpdateRefundRecord(RefundRecord refundRecord);
    boolean isExist(String refundId);

}
